<template>
		<el-breadcrumb separator-class="el-icon-arrow-right" class='inline-block vertical-middle'>
                <template v-for="breadcrembItem in breadcrumbItems">
                      <template v-if="breadcrembItem.to === ''">
                        <el-breadcrumb-item>{{ breadcrembItem.title }}</el-breadcrumb-item>
                      </template>
                      <template v-else>
                        <el-breadcrumb-item :to="{ 'path': breadcrembItem.to }">{{ breadcrembItem.title }}</el-breadcrumb-item>
                      </template>
                </template>
                
          </el-breadcrumb>
</template>

<script >
//vuex引入
import { mapGetters } from 'vuex'
export default {
  name: 'breadName',
  data () {
    return {
      
    }
  },
  created(){

  },
  methods:{
  	
  },
  computed:{
    ...mapGetters(['breadcrumbItems'])
  }
}
</script>

<style >

	
</style>